import { resfilter } from "@/utils/assist";
export const responseFilter = (format: any) => {
  return async function fn(m: any, next: any) {
    m.res = resfilter({ format })(m.res);
    next();
  };
};
